<template>
  <view class="search">
    <u-search
      placeholder="搜索"
      v-model="keyword"
      :showAction="false"
      inputAlign="center"
    ></u-search>
  </view>
</template>

<script>
// 编译成 页面.js
export default {
  data() {
    return {
      // 搜索关键词
      keyword: '',
    }
  },
}
</script>

<style lang="scss">
/* 编译成 页面.wxss */
.search {
  padding: 10rpx 25rpx;
  background-color: #eb4450;
}
</style>
